package cn.com.chengmandian.xh.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 租赁退租单
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("xh_rent_cancel")
@ApiModel(value = "XhRentCancel对象", description = "租赁退租单")
public class XhRentCancel implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("合作商ID")
    private Integer merchantsId;

    @ApiModelProperty("退租单编号")
    private String no;

    @ApiModelProperty("支付编号 支付时生成的编号")
    private String payNo;

    @ApiModelProperty("关联租赁电池ID")
    private Integer rentBatteryId;

    @ApiModelProperty("会员ID")
    private Integer memberId;

    @ApiModelProperty("门店ID")
    private Integer shopId;

    @ApiModelProperty("电池照片")
    private String pics;

    @ApiModelProperty("退回方式：1、服务点退回 2、自行寄回")
    private Integer backMode;

    @ApiModelProperty("退回快递公司")
    private String backExpressType;

    @ApiModelProperty("退回快递单号")
    private String backExpressNo;

    @ApiModelProperty("退回联系电话")
    private String backMobile;

    @ApiModelProperty("退租原因")
    private Integer reason;

    @ApiModelProperty("退租备注")
    private String remark;

    @ApiModelProperty("是否需要赔偿，赔偿金额大于0设置为1")
    private Integer isDamage;

    @ApiModelProperty("赔偿信息说明")
    private String damageRemark;

    @ApiModelProperty("赔偿金额")
    private BigDecimal damageMoney;

    @ApiModelProperty("超额循环使用次数")
    private Integer overUsesTimes;

    @ApiModelProperty("电池外壳/把手是否裂缝、缺损、凹陷等损坏")
    private Integer isBatteryDamage;

    @ApiModelProperty("电池是否进水")
    private Integer isInlet;

    @ApiModelProperty("电池是否过充短路")
    private Integer isShortCircuit;

    @ApiModelProperty("赔偿支付状态：1.待支付 2.已支付")
    private Integer damagePayStatus;

    @ApiModelProperty("状态：1、待审核，2、待退回、 3、待收货、4、待赔偿，5、退租完成，9、用户取消")
    private Integer status;

    @ApiModelProperty("运维备注")
    private String note;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

}
